﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EditMemberProfile.aspx.cs" Inherits="FYPHP.EditProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 262px;
        }
        .style2
        {
            width: 250px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftContent" runat="server">
    <img height ="190px" width="190px" src="\uploads\users\<% Response.Write(return_userpicture()); %>" alt="" /><br />
    <div class="slideshowline" style="margin: 5px 0;"></div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
    <table>
    <tr>
    <td>
    <div style="margin: 0 auto; width: 650px">
    <table border="1" cellpadding="10" cellspacing="10" style="width: 630px; border-collapse: collapse; border-color: #aaaaaa;">
    <tr><td colspan="2"> <span class="style1"><strong>Personal Information</strong></span></td></tr>


         <tr>
    <td class="style2">
        UserName:</td>
    <td>
        <asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>
             </td>
    </tr>
         




         <tr>
    <td class="style2">
        IC:</td>
    <td class="style9">
        <br />
        <asp:TextBox ID="txtIC" runat="server"></asp:TextBox>
        <br />
    </td>
    </tr>

    <tr><td class="style2">Age:</td><td>
        <asp:TextBox ID="txtAge" runat="server"></asp:TextBox>
        </td></tr>
        
    <tr><td class="style2">Gender</td><td class="style4">
        <asp:RadioButtonList ID="rblGender" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Selected="True">Male</asp:ListItem>
            <asp:ListItem>Female</asp:ListItem>
        </asp:RadioButtonList>
        </td></tr>
    <tr><td class="style2">Address:</td><td>
        <asp:TextBox ID="txtAdd1" runat="server" Width="218px"></asp:TextBox>
            <br />
            <br />
        <asp:TextBox ID="txtAdd2" runat="server" Width="217px"></asp:TextBox>
        </td></tr>

    <tr><td class="style2">Postcode:</td><td>
        <asp:TextBox ID="txtPostCode" runat="server"></asp:TextBox>
        </td></tr>
             <tr><td class="style2">City:</td><td>
        <asp:TextBox ID="txtCity" runat="server"></asp:TextBox>
                 </td></tr>
             <tr><td class="style2">State:</td><td>
        <asp:TextBox ID="txtState" runat="server"></asp:TextBox>
                 </td></tr>
             <tr><td class="style2">Country:</td><td>
        <asp:TextBox ID="txtCountry" runat="server"></asp:TextBox>
                 </td></tr>

    <tr><td class="style2">Phone No.:</td><td>
            <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
        </td></tr>
    <tr><td class="style2">Email:</td><td>
        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
        </td></tr>
    <tr><td class="style2">Reward Point:</td><td class="style5" valign = "middle">
            <asp:Label ID="lblRewardPoints" runat="server" Text="Label"></asp:Label>
        </td></tr>

    <tr><td>Change new profile picture :</td><td><asp:FileUpload id="FileUpload1"                 
           runat="server">
       </asp:FileUpload>

        <asp:Button id="UploadButton" Text="Upload file" OnClick="UploadButton_Click" runat="server">
       </asp:Button>    
       &nbsp;<br />
        <asp:Label id="UploadStatusLabel" runat="server"> </asp:Label>
        <asp:Label ID="imgName" runat="server"></asp:Label></td></tr>
    </table>

    </div>
    </td>
    </tr>
    </table>
     </div>

        <br />
        <asp:Button ID="UpdateMyProfile" runat="server" 
        onclick="UpdateMyProfile_Click" Text="UpdateMyProfile" />
        &nbsp;
        <asp:Button ID="btnMemberActivation" runat="server" 
        onclick="btnMemberActivation_Click" />
        &nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnReservation" runat="server" onclick="btnReservation_Click" 
        Text="View Reservation" />
        &nbsp;&nbsp;
        <asp:Label ID="ID123" runat="server" Text="Label"></asp:Label>
</asp:Content>
